﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200106F RID: 4207
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournSaveList : IMessage<RogueTournSaveList>, IMessage, IEquatable<RogueTournSaveList>, IDeepCloneable<RogueTournSaveList>, IBufferMessage
	{
		// Token: 0x1700350D RID: 13581
		// (get) Token: 0x0600BBD7 RID: 48087 RVA: 0x001FA13B File Offset: 0x001F833B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournSaveList> Parser
		{
			get
			{
				return RogueTournSaveList._parser;
			}
		}

		// Token: 0x1700350E RID: 13582
		// (get) Token: 0x0600BBD8 RID: 48088 RVA: 0x001FA142 File Offset: 0x001F8342
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournSaveListReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700350F RID: 13583
		// (get) Token: 0x0600BBD9 RID: 48089 RVA: 0x001FA154 File Offset: 0x001F8354
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournSaveList.Descriptor;
			}
		}

		// Token: 0x0600BBDA RID: 48090 RVA: 0x001FA15B File Offset: 0x001F835B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournSaveList()
		{
		}

		// Token: 0x0600BBDB RID: 48091 RVA: 0x001FA170 File Offset: 0x001F8370
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournSaveList(RogueTournSaveList other) : this()
		{
			this.name_ = other.name_;
			this.endTime_ = other.endTime_;
			this.data_ = ((other.data_ != null) ? other.data_.Clone() : null);
			this.rogueSeasonInfo_ = ((other.rogueSeasonInfo_ != null) ? other.rogueSeasonInfo_.Clone() : null);
			this.maxTimes_ = other.maxTimes_;
			this.time_ = other.time_;
			this.rogueTournCurInfo_ = ((other.rogueTournCurInfo_ != null) ? other.rogueTournCurInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BBDC RID: 48092 RVA: 0x001FA218 File Offset: 0x001F8418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournSaveList Clone()
		{
			return new RogueTournSaveList(this);
		}

		// Token: 0x17003510 RID: 13584
		// (get) Token: 0x0600BBDD RID: 48093 RVA: 0x001FA220 File Offset: 0x001F8420
		// (set) Token: 0x0600BBDE RID: 48094 RVA: 0x001FA228 File Offset: 0x001F8428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string Name
		{
			get
			{
				return this.name_;
			}
			set
			{
				this.name_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17003511 RID: 13585
		// (get) Token: 0x0600BBDF RID: 48095 RVA: 0x001FA23B File Offset: 0x001F843B
		// (set) Token: 0x0600BBE0 RID: 48096 RVA: 0x001FA243 File Offset: 0x001F8443
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long EndTime
		{
			get
			{
				return this.endTime_;
			}
			set
			{
				this.endTime_ = value;
			}
		}

		// Token: 0x17003512 RID: 13586
		// (get) Token: 0x0600BBE1 RID: 48097 RVA: 0x001FA24C File Offset: 0x001F844C
		// (set) Token: 0x0600BBE2 RID: 48098 RVA: 0x001FA254 File Offset: 0x001F8454
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GHNANGCGLGK Data
		{
			get
			{
				return this.data_;
			}
			set
			{
				this.data_ = value;
			}
		}

		// Token: 0x17003513 RID: 13587
		// (get) Token: 0x0600BBE3 RID: 48099 RVA: 0x001FA25D File Offset: 0x001F845D
		// (set) Token: 0x0600BBE4 RID: 48100 RVA: 0x001FA265 File Offset: 0x001F8465
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournSeasonInfo RogueSeasonInfo
		{
			get
			{
				return this.rogueSeasonInfo_;
			}
			set
			{
				this.rogueSeasonInfo_ = value;
			}
		}

		// Token: 0x17003514 RID: 13588
		// (get) Token: 0x0600BBE5 RID: 48101 RVA: 0x001FA26E File Offset: 0x001F846E
		// (set) Token: 0x0600BBE6 RID: 48102 RVA: 0x001FA276 File Offset: 0x001F8476
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MaxTimes
		{
			get
			{
				return this.maxTimes_;
			}
			set
			{
				this.maxTimes_ = value;
			}
		}

		// Token: 0x17003515 RID: 13589
		// (get) Token: 0x0600BBE7 RID: 48103 RVA: 0x001FA27F File Offset: 0x001F847F
		// (set) Token: 0x0600BBE8 RID: 48104 RVA: 0x001FA287 File Offset: 0x001F8487
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long Time
		{
			get
			{
				return this.time_;
			}
			set
			{
				this.time_ = value;
			}
		}

		// Token: 0x17003516 RID: 13590
		// (get) Token: 0x0600BBE9 RID: 48105 RVA: 0x001FA290 File Offset: 0x001F8490
		// (set) Token: 0x0600BBEA RID: 48106 RVA: 0x001FA298 File Offset: 0x001F8498
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurInfo RogueTournCurInfo
		{
			get
			{
				return this.rogueTournCurInfo_;
			}
			set
			{
				this.rogueTournCurInfo_ = value;
			}
		}

		// Token: 0x0600BBEB RID: 48107 RVA: 0x001FA2A1 File Offset: 0x001F84A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournSaveList);
		}

		// Token: 0x0600BBEC RID: 48108 RVA: 0x001FA2B0 File Offset: 0x001F84B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournSaveList other)
		{
			return other != null && (other == this || (!(this.Name != other.Name) && this.EndTime == other.EndTime && object.Equals(this.Data, other.Data) && object.Equals(this.RogueSeasonInfo, other.RogueSeasonInfo) && this.MaxTimes == other.MaxTimes && this.Time == other.Time && object.Equals(this.RogueTournCurInfo, other.RogueTournCurInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BBED RID: 48109 RVA: 0x001FA360 File Offset: 0x001F8560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Name.Length != 0)
			{
				num ^= this.Name.GetHashCode();
			}
			if (this.EndTime != 0L)
			{
				num ^= this.EndTime.GetHashCode();
			}
			if (this.data_ != null)
			{
				num ^= this.Data.GetHashCode();
			}
			if (this.rogueSeasonInfo_ != null)
			{
				num ^= this.RogueSeasonInfo.GetHashCode();
			}
			if (this.MaxTimes != 0U)
			{
				num ^= this.MaxTimes.GetHashCode();
			}
			if (this.Time != 0L)
			{
				num ^= this.Time.GetHashCode();
			}
			if (this.rogueTournCurInfo_ != null)
			{
				num ^= this.RogueTournCurInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BBEE RID: 48110 RVA: 0x001FA42E File Offset: 0x001F862E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BBEF RID: 48111 RVA: 0x001FA436 File Offset: 0x001F8636
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BBF0 RID: 48112 RVA: 0x001FA440 File Offset: 0x001F8640
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.RogueTournCurInfo);
			}
			if (this.rogueSeasonInfo_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.RogueSeasonInfo);
			}
			if (this.EndTime != 0L)
			{
				output.WriteRawTag(56);
				output.WriteInt64(this.EndTime);
			}
			if (this.MaxTimes != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.MaxTimes);
			}
			if (this.Time != 0L)
			{
				output.WriteRawTag(72);
				output.WriteInt64(this.Time);
			}
			if (this.Name.Length != 0)
			{
				output.WriteRawTag(98);
				output.WriteString(this.Name);
			}
			if (this.data_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.Data);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BBF1 RID: 48113 RVA: 0x001FA52C File Offset: 0x001F872C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Name.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.Name);
			}
			if (this.EndTime != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.EndTime);
			}
			if (this.data_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Data);
			}
			if (this.rogueSeasonInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueSeasonInfo);
			}
			if (this.MaxTimes != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MaxTimes);
			}
			if (this.Time != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.Time);
			}
			if (this.rogueTournCurInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BBF2 RID: 48114 RVA: 0x001FA600 File Offset: 0x001F8800
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournSaveList other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Name.Length != 0)
			{
				this.Name = other.Name;
			}
			if (other.EndTime != 0L)
			{
				this.EndTime = other.EndTime;
			}
			if (other.data_ != null)
			{
				if (this.data_ == null)
				{
					this.Data = new GHNANGCGLGK();
				}
				this.Data.MergeFrom(other.Data);
			}
			if (other.rogueSeasonInfo_ != null)
			{
				if (this.rogueSeasonInfo_ == null)
				{
					this.RogueSeasonInfo = new RogueTournSeasonInfo();
				}
				this.RogueSeasonInfo.MergeFrom(other.RogueSeasonInfo);
			}
			if (other.MaxTimes != 0U)
			{
				this.MaxTimes = other.MaxTimes;
			}
			if (other.Time != 0L)
			{
				this.Time = other.Time;
			}
			if (other.rogueTournCurInfo_ != null)
			{
				if (this.rogueTournCurInfo_ == null)
				{
					this.RogueTournCurInfo = new RogueTournCurInfo();
				}
				this.RogueTournCurInfo.MergeFrom(other.RogueTournCurInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BBF3 RID: 48115 RVA: 0x001FA701 File Offset: 0x001F8901
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BBF4 RID: 48116 RVA: 0x001FA70C File Offset: 0x001F890C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 18U)
					{
						if (this.rogueTournCurInfo_ == null)
						{
							this.RogueTournCurInfo = new RogueTournCurInfo();
						}
						input.ReadMessage(this.RogueTournCurInfo);
						continue;
					}
					if (num == 34U)
					{
						if (this.rogueSeasonInfo_ == null)
						{
							this.RogueSeasonInfo = new RogueTournSeasonInfo();
						}
						input.ReadMessage(this.RogueSeasonInfo);
						continue;
					}
					if (num == 56U)
					{
						this.EndTime = input.ReadInt64();
						continue;
					}
				}
				else if (num <= 72U)
				{
					if (num == 64U)
					{
						this.MaxTimes = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.Time = input.ReadInt64();
						continue;
					}
				}
				else
				{
					if (num == 98U)
					{
						this.Name = input.ReadString();
						continue;
					}
					if (num == 122U)
					{
						if (this.data_ == null)
						{
							this.Data = new GHNANGCGLGK();
						}
						input.ReadMessage(this.Data);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004B9D RID: 19357
		private static readonly MessageParser<RogueTournSaveList> _parser = new MessageParser<RogueTournSaveList>(() => new RogueTournSaveList());

		// Token: 0x04004B9E RID: 19358
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004B9F RID: 19359
		public const int NameFieldNumber = 12;

		// Token: 0x04004BA0 RID: 19360
		private string name_ = "";

		// Token: 0x04004BA1 RID: 19361
		public const int EndTimeFieldNumber = 7;

		// Token: 0x04004BA2 RID: 19362
		private long endTime_;

		// Token: 0x04004BA3 RID: 19363
		public const int DataFieldNumber = 15;

		// Token: 0x04004BA4 RID: 19364
		private GHNANGCGLGK data_;

		// Token: 0x04004BA5 RID: 19365
		public const int RogueSeasonInfoFieldNumber = 4;

		// Token: 0x04004BA6 RID: 19366
		private RogueTournSeasonInfo rogueSeasonInfo_;

		// Token: 0x04004BA7 RID: 19367
		public const int MaxTimesFieldNumber = 8;

		// Token: 0x04004BA8 RID: 19368
		private uint maxTimes_;

		// Token: 0x04004BA9 RID: 19369
		public const int TimeFieldNumber = 9;

		// Token: 0x04004BAA RID: 19370
		private long time_;

		// Token: 0x04004BAB RID: 19371
		public const int RogueTournCurInfoFieldNumber = 2;

		// Token: 0x04004BAC RID: 19372
		private RogueTournCurInfo rogueTournCurInfo_;
	}
}
